export const ImgZoomMixins = {
    data(){
        return {
            mix_imgs:[],
        }
    },
    methods:{
        //单图片预览
        previewImgOne(image) {
            this.mix_imgs=[image]
            this.$refs.previewImage.open(0)
        },
        //多图片预览
        previewImgList(imageList,index){
            if(imageList && imageList.length>0){
                this.mix_imgs=imageList
                this.$refs.previewImage.open(index)
            }
        },
    }
}
